package cn.yeziji.forum.basic.netty.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户信息
 *
 * @author gzkemays
 * @since 2022/11/08 10:28 AM
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserMessage implements Serializable {
  String nickname;
  String username;
  String avatar;
  String desc;
  boolean flag;

  public UserMessage(String nickname) {
    this.nickname = nickname;
  }
}
